﻿using System.IO;

namespace OpenLS.Spreadsheet.Formats.Biff.Records
{
    internal abstract class MarginRecord: BiffRecord
    {
        private double _value;

        protected override void ReadContent(BiffReaderContext context, int length)
        {
            this._value = context.ReadDouble();
        }


        internal override void WriteContent(BiffWriterWorkbookContext context)
        {
            context.Write(_value);
        }
    }
}